package edu.hz.dao;

import edu.hz.model.entity.DonationCommentEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DonationCommentMapper {

    @Select("select * from donation_comments where donation_id = #{donationId}")
    List<DonationCommentEntity> selectByDonationId(@Param("donationId") Integer donationId);

}
